package club.kingyin.easycache.method.core;

import club.kingyin.easycache.cache.CacheAdapter;
import club.kingyin.easycache.cache.ValueSerializer;
import club.kingyin.easycache.utils.AnnotationUtils;

public class AnnotationEasyCache extends ProxyCacheEnhancer {

    @Override
    protected void init() {
        super.init();
        // 注册注解处理器
        AnnotationUtils.registerAnnotationHandler(this);
    }

    public AnnotationEasyCache(CacheAdapter cacheAdapter, ValueSerializer serializer) {
        super(cacheAdapter, serializer);
    }

    public AnnotationEasyCache(String path, ValueSerializer serializer) {
        super(path, serializer);
    }

    public AnnotationEasyCache() {
        super();
    }

}
